package com.xubeizhi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xubeizhi.common.ResponseResult;
import com.xubeizhi.entity.DictData;

import java.util.List;

/**
 * 字典数据表服务类
 * @author mi
 * @create 2023/3/6 15:35
 */
public interface DictDataService extends IService<DictData> {
    ResponseResult listDictData(Integer dictID,Integer isPublish);

    ResponseResult insertDictData(DictData dictData);

    ResponseResult updateDictData(DictData sysDictData);

    ResponseResult deleteBatch(List<Long> ids);

    ResponseResult deleteDictDate(Long id);

    ResponseResult getDataByDictType(List<String> types);
}
